package cn.uniquesoft.vo;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;

/**
 * @author:朱元勋
 * @mail:395910063@qq.com
 * @date:2018-11-12 10:47:49
 * @description:
 **/
@Document(indexName = "dbsearch",type = "titem")
public class SearchVO {
    @Id
    private String id;
    @Field(index = false)
    private String tid;
    @Field(index = false)
    private String tname;
    @Field(index = false)
    private String tvalue;

    public String getTtitle() {
        return ttitle;
    }

    public void setTtitle(String ttitle) {
        this.ttitle = ttitle;
    }

    @Field
    private String ttitle;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTvalue() {
        return tvalue;
    }

    public void setTvalue(String tvalue) {
        this.tvalue = tvalue;
    }
}
